//
//  ClassifyCell.m
//  UI_xiangmu
//
//  Created by dlios on 15-4-24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ClassifyCell.h"

@implementation ClassifyCell
- (instancetype)initWithFrame:(CGRect)frame
{self = [super initWithFrame:frame];
    if(self){
    self.classifyLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
    self.classifyLabel.backgroundColor = [UIColor colorWithRed:253 / 255.0 green:241 / 255.0 blue:108 / 255.0 alpha:0.8];
    self.classifyLabel.layer.borderWidth = 0.2;
    self.classifyLabel.layer.cornerRadius = 10;
    self.classifyLabel.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:self.classifyLabel];
    [_classifyLabel release];
    //*************
    self.classifyImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 30, 100, 100)];
    [self.contentView addSubview:self.classifyImageView];
    self.classifyImageView.backgroundColor = [UIColor grayColor];
    [_classifyImageView release];
    }
    return self;
}
@end
